// 权限问题后期增加
import { get, post } from '/@/utils/http/axios'
import { BannerState } from '/@/store/modules/homePage/types'

enum URL {
  teacherList = '/api/student/teacher/list/', // 教师列表
  teacherDetail = '/api/student/teacher/detail/', // 教师详情
  teacherCourse = '/api/student/teacher/teachcourse/', // 教师开课列表
}
/// 课程列表
const teacherList = async (data) => post<any>({url :URL.teacherList, data});
const teacherDetail =  async (data) => post<any>({url :URL.teacherDetail, data});
const teacherCourse = async (data) => post<any>({url: URL.teacherCourse, data});

export { teacherList, teacherDetail, teacherCourse }